home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 2: CDPD 1
/
Almathera Ten on Ten - Disc 2: CDPD 1.iso
/
pd
/
301-325
/
325
/
rexxhostlib
/
testdemo.rexx
< prev
Wrap
OS/2 REXX Batch file
|
1995-03-14
|
517b
|
25 lines
/* A test program for the fancy demo. To run, issue */
/* the command testdemo from fancy's command window */
arg code
address 'FancyDemo'
'good' /* a command */
say 'rc=' rc 'result=' result
'BAD' /* another command */
say 'rc=' rc 'result=' result
/* now request a result string (an extension in ARexx) */
options results
say 'Requesting results'
'good' /* the good command again */
say 'rc=' rc 'result=' result
/* try it with three arguments. */
good job man
exit 0 /* return the argument */